package com.timebank.volunteer.service.impl;

import com.timebank.volunteer.pojo.entity.VolunteerType;
import com.timebank.volunteer.mapper.VolunteerTypeMapper;
import com.timebank.volunteer.service.VolunteerTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 志愿服务类型 服务层
 * @author shiliuyinzhen
 */
@Service
public class VolunteerTypeServiceImpl implements VolunteerTypeService {

    @Autowired
    private VolunteerTypeMapper volunteerTypeMapper;

    /**
     * 获取志愿服务类型列表
     * @param volunteerType
     * @return
     */
    @Override
    public List<VolunteerType> selectVolunteerTypeList(VolunteerType volunteerType) {
        return volunteerTypeMapper.selectVolunteerTypeList(volunteerType);
    }
}
